<admintpl file="header"/>
<style>
    .select_2 {
        width: 150px;
    }

    /*td {
        white-space: nowrap;
    }*/

    .equipment {
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        course: hand;
        width: 100px;
        display: block;
    }

    .success {

    }
</style>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">请求记录</a></li>
        <li><a href="{:U('RequestRecord/chartspage')}">请求统计 Charts</a></li>
        <li><a href="{:U('RequestRecord/equipment')}">设备统计 Charts</a></li>
        <li><a href="{:U('RequestRecord/daycharts')}">时间统计 Charts</a></li>
        <li><a href="{:U('RequestRecord/shadow')}">接口成功率统计 Charts</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('RequestRecord/lists')}">
        请求类型：
        <select class="select_2" name="request_method">
            <option value='0'>全部</option>
            {$request_method_option}
        </select>
        机型：
        <select class="select_2" name="equipment">
            <option value='0'>全部</option>
            {$equipment_option}
        </select>
        接口名称：
        <select class="select_2" name="controller_action">
            <option value='0'>全部</option>
            {$controller_action_option}
        </select>
        时间：
        <input type="text" name="start_time" class="js-date" value="{$formget.start_time|default=''}"
               style="width: 80px;" autocomplete="off">-
        <input type="text" class="js-date" name="end_time" value="{$formget.end_time}" style="width: 80px;"
               autocomplete="off"> &nbsp; &nbsp;
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-info js-ajax-delete" href="{:U('RequestRecord/truncate')}">清空</a>

    </form>
    <table style="margin-top: 10px;word-break:break-all;" class="table table-hover table-bordered table-list"
           id="menus-table">
        <thead>
        <tr>
            <th style="white-space:nowrap;">序号</th>
            <th style="white-space:nowrap;">请求类型</th>
            <th>请求接口</th>
            <th style="width: 30%;">请求值</th>
            <th style="white-space:nowrap;">返回码</th>
            <th>机型</th>
            <th>请求时间</th>
            <th style="white-space:nowrap;">操作</th>
        </tr>
        </thead>
        <tbody>
        {$tbodylist}
        </tbody>
    </table>
    <div class="pagination">{$Page}</div>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>